package com.local.quartz.springquartz;

import org.joda.time.DateTime;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class SecondScheduledJob extends QuartzJobBean { 

	@Override
	protected void executeInternal(JobExecutionContext arg0) throws JobExecutionException {
		 DateTime dt = new DateTime();
		  System.out.println("②每执行一次:"+dt.toString("yyyy-MM-dd hh:mm:ss SSS"));
	}  
}
